#! /bin/sh

base_module_name=@base_module_name@
base_module="${base_module_name}.ko"

if ! @INSMOD@ "${base_module}"; then
    printf "Loading of testing module was failed.\n"
    exit 1
fi

if ! @RMMOD@ "${base_module_name}"; then
    printf "Failed to unload test module.\n"
    exit 1
fi
